<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=640px, user-scalable=no">
    <meta name="apple-themes-web-app-capable" content="yes">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <meta content="email=no" name="format-detection">
    <meta name="format-detection" content="telephone=no">
    <title>培优广场</title>
</head>

<body>

<script type="text/javascript" src="/static/index/js/jquery.min.js"></script>
<script type="text/javascript">
    $(function () {
        //未选择地址时，跳转到地址选择页面上
        var cityId = localStorage.getItem("cityId");

        //如果未选择，则跳转到地址选择页面上
        if(!cityId){
            window.location.href="{:url('index/index/chooseLocation')}";
        }else{
            //跳转到首页，并将城市参数传递过去
            window.location.href="{:url('index/index/index')}?cityId="+cityId;
        }

    })

</script>
</body>
</html>
